package com.tedu.ds.dsService.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class DsServiceVO {
    @ApiModelProperty(value = "服务id", example = "1")
    private Integer id;

    @ApiModelProperty(value = "服务名称", example = "清洁服务", required = true)
    private String name;

    @ApiModelProperty(value = "服务描述", example = "提供定期的清洁服务，包括办公室、会议室等区域的清洁工作")
    private String description;

    @ApiModelProperty(value = "服务费用", example = "100.00")
    private Double price;

    @ApiModelProperty(value = "服务的次数或时间周期", example = "每周一次")
    private String cycle;

    @ApiModelProperty(value = "服务的状态", example = "1")
    private Integer status;

    @ApiModelProperty(value = "服务创建时间", example = "2023-10-24T20:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "服务最后更新时间", example = "2023-10-24T20:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "服务的父类id", example = "1")
    private Integer parentId;
}
